package Cani;//goleste cana1
public class G1 extends Operator{
	
	public boolean condition(Nod n){
		if((n.getX()<=getMaxCapacityC1())&&(n.getX()>0))
			return true;
		else return false;
	}
	public Nod action(Nod n){
		Nod clone=new Nod(n);
		clone.setX(0);
		return clone;
	}

}
